Page({
  login: function(e) {
    const { phone, password } = e.detail.value;
    if (phone === '15384485241' && password === '123456') {
      wx.showToast({
        title: '登录成功',
        icon: 'success'
      });
    } else {
      wx.showToast({
        title: '登录失败',
        icon: 'none'
      });
    }
  }
})
